From: Eric Fahlgren Date: Sun, 9 Mar 2025 16:24:08 +0000 (-0700) Subject: luci-app-attendedsysupgrade: show upcoming versions when available X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=8b00d023b0335783dc459a738a1b1e9c2be9cacc;p=project%2Fluci.git luci-app-attendedsysupgrade: show upcoming versions when available Do not hide upcoming versions behind the 'advanced_mode' setting, always show them. Fixes: https://github.com/openwrt/asu/issues/1202 Signed-off-by: Eric Fahlgren --- diff --git a/applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js b/applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js index 145d75faf0..c136e8f96b 100644 --- a/applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js +++ b/applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js @@ -501,11 +501,6 @@ return view.extend({ break; } - // skip branch upgrades outside the advanced mode - if (branch != remote_branch && advanced_mode == 0) { - continue; - } - candidates.unshift([remote_version, null]); // don't offer branches older than the current